<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
		
 </body>
</html>
<script>
	//合并数组concat();
	var arr1 = ['aa', 'bb', 'cc'];
	var arr2 = ['哈哈', '呵呵'];
	var newArr = arr2.concat(arr1); //返回一个新的数组
	console.log(newArr);
	console.log(arr1);
	console.log(arr2);

	var newArr2 = arr2.concat(arr1, '长沙', 123, null);
	console.log(newArr2)
</script>
